package sv.com.modelo.embarcacion;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Embeddable;
import javax.persistence.Id;

@Embeddable() 
public class PersonaArtefactoPk implements Serializable {
	
	
	  private static final long serialVersionUID = 1L; 

		@Column(name="id_persona")
		private Long idPersona;
		@Column(name="id_artefacto_naval")
		private Long idArtefactoNaval;
		
		
		public Long getIdArtefactoNaval() {
			return idArtefactoNaval;
		}
		public void setIdArtefactoNaval(Long idArtefactoNaval) {
			this.idArtefactoNaval = idArtefactoNaval;
		}
		public static long getSerialversionuid() {
			return serialVersionUID;
		}
		public Long getIdPersona() {
			return idPersona;
		}
		public void setIdPersona(Long idPersona) {
			this.idPersona = idPersona;
		}
	
		

}
